///PHILOTES Source Code.  (C)2012 PhiloLabs

// Implements a platform-indepent app-entry point. In your main file, put the line
// ImplementPhiloApplication();
// And then replace your main() function with:
// void PhiloMain(const CommandLineArgs& args)

#pragma once

#include "core/types.h"
#include "util/commandlineargs.h"

//------------------------------------------------------------------------------
#define ImplementPhiloApplication() \
void PhiloMain(const Util::CommandLineArgs& args); \
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE prevInstance, LPSTR lpCmdLine, int nShowCmd) \
{ \
    Util::CommandLineArgs args(lpCmdLine); \
    PhiloMain(args); \
    return 0; \
}
//------------------------------------------------------------------------------
